package com.zy.MVC;
/*
 * code for class HandlerMethod
 * @param null
 * 将当前对象和其方法进行封装
 * @version 1.0.0
 * @return
 * @author Zhou Yun
 * @date 2021/6/8 14:34
 **/
import java.lang.reflect.Method;

public class HandlerMethod
{
    private Object bean;
    private Method method;

    public HandlerMethod(Object bean, Method method) {
        this.bean = bean;
        this.method = method;
    }
    public Object getBean()
    {
        return bean;
    }

    public void setBean(Object bean)
    {
        this.bean = bean;
    }

    public Method getMethod()
    {
        return method;
    }

    public void setMethod(Method method)
    {
        this.method = method;
    }
}
